package com.pet.behavior.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pet.model.behavior.pojos.ApBehaviorEntry;

/**
 * <p>
 * APP行为实体表,一个行为实体可能是用户或者设备，或者其它 服务类
 * </p>
 */
public interface ApBehaviorEntryService extends IService<ApBehaviorEntry> {

    ApBehaviorEntry findByUserIdOrEquipmentId(Integer userId, Integer equipmentId);
    boolean save(Integer userId, Integer equipmentId);
}
